/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.telsoft.business;

import com.telsoft.data.AttributesDAO;
import com.telsoft.entity.AttributesEntity;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author thieplv
 */
public class AttributesBusiness {
    public static List<AttributesEntity> getAttrs() throws SQLException{
        AttributesDAO dao = new AttributesDAO();
        return dao.getAttrs();
    }
    public static List<AttributesEntity> getAttrsByChildID(int id) throws SQLException{
        AttributesDAO dao = new AttributesDAO();
        return dao.getAttrsByChildID(id);
    }
}
